package org.jeecg.modules.manager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.modules.manager.entity.OrderGroupSaleVo;
import org.jeecg.modules.manager.entity.SaleOrder;
import org.jeecg.modules.manager.entity.SaleQueryByIdVo;

import java.util.List;

/**
 * @Description: 销售订单表
 * @Author: jeecg-boot
 * @Date:   2021-11-19
 * @Version: V1.0
 */
public interface ISaleOrderService extends IService<SaleOrder> {

    int addOrEdit(OrderGroupSaleVo orderGroup, LoginUser loginUser);

    List<SaleQueryByIdVo> queryById(String id);

    int removeAllById(String id,LoginUser cur);

    String removeOrderById(String id,LoginUser cur);

    int outStock(String id, LoginUser currentUser);
}
